package com.tsj.spzx.pay;

import com.tsj.spzx.annotation.EnableUserTokenFeignInterceptor;
import com.tsj.spzx.annotation.EnableUserWebMvcConfiguration;
import com.tsj.spzx.pay.Properties.AlipayProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients(basePackages = {"com.tsj.spzx"})
@EnableConfigurationProperties(AlipayProperties.class)
@EnableTransactionManagement
@EnableUserWebMvcConfiguration
@EnableUserTokenFeignInterceptor
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class, args);
    }
}
